#ifndef _PORT_TYPES_H
#define _PORT_TYPES_H

enum ual_type_enum
{
	dout=0,
	din,
	dlink,
	dns,
	eth,
	wifi,
	net2g,
	net3g,
	net4g,
	srv,
};

typedef struct ual_port_node_t
{
	enum ual_type_enum  type;
	char *name;
	char *port;
	char *defv;
	char *path;
}ual_port_node;

typedef struct ual_net_node_t
{
	enum ual_type_enum  type;
	char *name;
	char *proto;
	char *ipaddr;
	char *netmask;
	char *gateway;
}ual_net_node;

typedef struct ual_srv_node_t
{
	enum ual_type_enum  type;
	char *name;
	char *enable;
	char *path;
	char *args;
}ual_srv_node;

typedef struct psnconf_t
{
	char  *pname;
	char  *alias;
	char  *pmachd;
	unsigned char pcode;
}psnconf;

#endif
